/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

import request from '@/utils/request';

//添加运营短信
export async function exportSmsPhone(params: any) {
  return request('/order/exportSmsPhone', {
    method: 'POST',
    data: params,
  });
}

//获取运营短信列表
export async function getSmsPhoneList(params: any) {
  return request('/order/SmsPhoneList', {
    method: 'POST',
    data: params,
  });
}

//获取运营短信详情列表
export async function getSmsPhoneDetailList(params: any) {
  return request('/order/SmsPhoneDetailList', {
    method: 'POST',
    data: params,
  });
}

//获取是否可查看脱敏手机号
export async function getRealPhone(params: any) {
  return request('/order/getRealPhone', {
    method: 'POST',
    data: params,
  });
}

// 获取发送营销短信
export async function getMarketSmsList(params: any) {
  return request('/MarketSms/getMarketSmsList', {
    method: 'POST',
    data: params,
  });
}

// 批量发送营销短信
export async function createMarketBatchByExcel(params: any) {
  return request('/MarketSms/createMarketBatchByExcel', {
    method: 'POST',
    data: params,
  });
}

// 批量发送营销短信
export async function updateMarketSmsList(params: any) {
  return request('/MarketSms/updateMarketSmsList', {
    method: 'POST',
    data: params,
  });
}

// 获取发送营销短信
export async function resendSms(params: any) {
  return request('/MarketSms/resendSms', {
    method: 'POST',
    data: params,
  });
}

// 发送营销短信日志
export async function getMarketSmsDetailList(params: any) {
  return request('/MarketSms/getMarketSmsDetailList', {
    method: 'POST',
    data: params,
  });
}

// 发送营销短信日志
export async function getMarketSmsDetail(params: any) {
  return request('/MarketSms/getMarketSmsDetail', {
    method: 'POST',
    data: params,
  });
}

// 发送营销短信日志
export async function updateMarketSmsDetailNote(params: any) {
  return request('/MarketSms/updateMarketSmsDetailNote', {
    method: 'POST',
    data: params,
  });
}
